<template>
  <div class="edit_buildTeam_wrap">
    <div class="edit_buildTeam_tit">
      基本信息
    </div>
    <div class="edit_buildTeam_content" v-for="(v,i) in BuildTeamContractDetails2" :key="i">
      <p>
        <label>合同编号:</label>
        <span>{{v.contractNo}}</span>
      </p>
      <p>
        <label>合同名称:</label>
        <span>{{v.contractName}}</span>
      </p>
      <p>
        <label>关联项目:</label>
        <span>{{v.projectName}}</span>
      </p>
      <p>
        <label>乙方单位:</label>
        <span>{{v.constructionName}}</span>
      </p>
      <p>
        <label>乙方联系人:</label>
        <span>{{v.constructionContact}}</span>
      </p>
      <p>
        <label>乙方联系电话:</label>
        <span>{{v.constructionPhone}}</span>
      </p>
      <p>
        <label>合同开工日期:</label>
        <span>{{v.planBeginDate}}</span>
      </p>
      <p>
        <label>合同竣工日期:</label>
        <span>{{v.planOverDate}}</span>
      </p>
      <p>
        <label>合同金额:</label>
        <span>{{v.heTongMoney}}</span>
      </p>
      <p>
        <label>计价方式:</label>
        <span>{{v.valuation}}</span>
      </p>
      <p>
        <label>经办人:</label>
        <span>{{v.name}}</span>
      </p>
      <p>
        <label>经办部门:</label>
        <span>{{v.deptName}}</span>
      </p>
      <p>
        <label>签约日期:</label>
        <span>{{v.qianYueDate}}</span>
      </p>
      <p>
        <label>付款备注:</label>
        <span>{{v.paymentRemark}}</span>
      </p>
      <p>
        <label>创建人:</label>
        <span>{{v.creatName}}</span>
      </p>
      <p>
        <label>创建日期:</label>
        <span>{{v.createDate}}</span>
      </p>
      <div class="edit_buildTeam_tit">
        合同附件
      </div>
    </div>
    <div class="download_file">

    </div>
  </div>
</template>
<style src="./style/EditTeamContract.css">
</style>
<script>
export default {
  data () {
    return {
      BuildTeamContractDetails: {
        // 合同编号
        contractNo: "",
        // 合同名称
        contractName: "",
        // 创建时间
        createDate: "",
        // 合同开始时间
        planBeginDate: "",
        // 合同结束日期
        planOverDate: "",
        // 签约日期
        qianYueDate: "",
        // 合同金额
        heTongMoney: "",
        // 附件
        contractEnclosure: "",
        // 备注
        paymentRemark: "",
        // 计价方式
        valuation: "",
        // 经办部门
        deptName: "",
        // 经办人
        name: "",
        // 创建人
        creatName: "",
        // 项目名称
        projectName: "",
        // 乙方名称
        constructionName: "",
        // 联系人
        constructionContact: "",
        // 乙方电话
        constructionPhone: "",
        // 用章状态
        chapterStatus: "",

        type: ""
      },
      BuildTeamContractDetails2: [

      ]
    };
  },
  methods: {
    getBuildTeamContractDetails () {
      let id = this.$route.query.id
      this.$contractApi.getBuildTeamContractDetails(id).then(res => {
        if (res.data.code == 200) {
          this.BuildTeamContractDetails2 = res.data.data
        }
      })
    }
  },
  created () {

  },
  mounted () {
    this.getBuildTeamContractDetails()
  },
  computed: {

  }
};
</script>